Predicting Derivation Lengths in Rule-based Constraint Programs

نویسنده

  • Thom W. Frühwirth
چکیده

We automatically predict the maximal number of rule applications, i.e. worst-case derivation lengths of computations, in rule-based constraint solver programs written in the CHR language. The derivation lengths are derived from rankings used in termination proofs for the respective programs. We are especially interested in rankings that give us a good upper bound, we call such rankings tight. We apply our method to constraint solvers ranging from Boolean and arithmetic to terminological and path-consistent constraints. In most cases, the worst-case derivation length is linear in the syntactic size of the constraint problem. RÉSUMÉ. Nous prévoyons automatiquement le nombre maximal d’application de règles (c.-à.d. longueur de dérivation dans les pires des cas) dans des solveur de contraintes basés sur des règles écrits dans le langage CHR. Les longueurs de dérivation sont dérivées à partir des rangs utilisés dans des preuves de terminaison pour ces programmes. Nous sommes particulièrement intéressés par les rangs qui nous donnent une bonne limite supérieure. Nous appliquons notre méthode sur des differents solveurs de contraintes, tels que contraintes booléennes, équations linéaires et contraintes terminologiques. Dans la plupart des cas, la longueur de dérivation (dans les pires des cas) est linéaire dans la taille syntactique du problème.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constraint-Based Synthesis of Datalog Programs

We study the problem of synthesizing recursive Datalog programs from examples. We propose a constraint-based synthesis approach that uses an smt solver to efficiently navigate the space of Datalog programs and their corresponding derivation trees. We demonstrate our technique’s ability to synthesize a range of graph-manipulating recursive programs from a small number of examples. In addition, w...

متن کامل

Integration and Optimization of Rule-Based Constraint Solvers

One lesson learned from practical constraint solving applications is that constraints are often heterogeneous. Solving such constraints requires a collaboration of constraint solvers. In this paper, we introduce a methodology for the tight integration of CHR constraint programs into one such program. CHR is a high-level rule-based language for writing constraint solvers and reasoning systems. A...

متن کامل

Observable Confluence for Constraint Handling Rules

Constraint Handling Rules (CHRs) are a powerful rule based language for specifying constraint solvers. Critical for any rule based language is the notion of confluence, and for terminating CHRs there is a decidable test for confluence. But many CHR programs that in practice are confluent fail this confluence test. The problem is that the states that illustrate non-confluence are not reachable i...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000